package com.ilab.view;

import android.content.Context;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.widget.ScrollView;

import com.ilab.view.activity.TriEiLabActivity;

public class MyScrollView extends ScrollView{
	public MyScrollView(Context context) {
		super(context);
	}

	public MyScrollView(Context context, AttributeSet attrs) {
		super(context, attrs);
	}
	public MyScrollView(Context context, AttributeSet attrs, int defStyle) {
		super(context, attrs, defStyle);
	}
	@Override
	public boolean onTouchEvent(MotionEvent event) {
		((TriEiLabActivity)this.getContext()).onTouchEvent(event);
	    return super.onTouchEvent(event);
	}
	

}
